package com.ymttest.database.mapping;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.ymttest.database.model.YmtFundDimension;
import com.ymttest.database.model.YmtFundStrategy;
import com.ymttest.database.model.YmtFundStrategyDimension;

public interface YmtFPMapper {
    
	List<YmtFundDimension> selectdimension(String strategyDimensionName);
	List<YmtFundStrategy> selectstrategy(String strategyId);
	List<YmtFundStrategyDimension> selectstrategydimension(String strategyId);
	List<Map> selectstrategyidbyrange(String beginendrange);
	List<Map> selectstrategyidbyuserid(String sdiuserid);
	//修改策略为无效
	void updateStrategyStatusByStrategyId(String strategyId);
	List<Map> selectstrategyidforhighleveltype(String beginRange);
	List<Map> selectstrategyforrefund(Map m);
	List<Map> commissionbysellerid(Map m);
	List<Map> commissiongetsellerid(Map m);
	List<Map> commissionchackforamount(Map m);
	List<Map> taxRateforcommission(Map m);	
	//Ymt_CommissionCheckBills
	List<Map> commissionCheckBillsbyBusinessType(int businessType);	
	List<Map> commissionCheckBillsbyOrderId(Map m);
	//<Ymt_CommissionOrderDetail> left join <Ymt_CommissionOrderInvoice>
	List<Map> commissionOrderbyBusinessType(int businessType);	
	List<Map> commissionOrderbyOrderinfoId(Map m);	
}